import {Result} from 'antd';
import React from 'react';
import {SmileOutlined} from "@ant-design/icons";

const NoFoundPage: React.FC = () =>{

    return  (
        <Result
            title="404"
            icon={<SmileOutlined />}
            subTitle="抱歉, 你好像访问了一个不存在的页面."
            /*extra={
              <Button type="primary" onClick={() => history.push('/')}>
                关闭本页签
              </Button>
            }*/
        />
    );
}

export default NoFoundPage;
